import request from '@/utils/request'

// 登录接口
export const userLoginService = ({ phoneNumber, password }) => {
  return request.post('/user/api/public/auth/login', { phoneNumber, password });
}

export const userRegisterService = ({ phoneNumber, password }) => {
  return request.post('/user/api/public/auth/register', { phoneNumber, password });
}